#!/bin/sh

PORT=mate-panel

SCHEMAS=$(pkginfo -l ${PORT} | grep etc/mateconf/schemas/.*\.schemas\$)

for S in ${SCHEMAS}
do
	MATECONF_CONFIG_SOURCE="xml::/usr/etc/mateconf/mateconf.xml.defaults" \
		mateconftool-2 --makefile-install-rule /${S}
done

mateconftool-2 --config-source="xml::/usr/etc/mateconf/mateconf.xml.defaults" \
	--direct --load /usr/etc/mateconf/schemas/panel-default-setup.entries
